package com.yuba.front.domain;

import com.yuba.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 帖子收藏对象 collect_posts
 *
 * @author modakai
 * @date 2024-12-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("collect_posts")
public class CollectPosts extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 收藏id
     */
    @TableId(value = "collect_id", type = IdType.AUTO)
    private Long collectId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 帖子id
     */
    private Long postId;

    /**
     * 备注
     */
    private String remark;


}
